package assess

import (
	v1 "gitee.com/g-qs/gin-vue-admin/server/api/v1"
	"github.com/gin-gonic/gin"
)

type RouterGroup struct {
	AssessRouter
}

func (a *AssessRouter) InitAssessRouter(Router *gin.RouterGroup) {
	assessRouter := Router.Group("assess")
	assessApi := v1.ApiGroupApp.AssessApiGroup.AssessApi
	{
		assessRouter.GET("getPhysiqueQuestion", assessApi.GetPhysiqueQuestion)        // 获取体质问卷
		assessRouter.POST("submitPhysiqueQuestion", assessApi.SubmitPhysiqueQuestion) // 提交体质问卷
		assessRouter.GET("getQuestionResult", assessApi.GetQuestionResult)            // 获取问卷结果
		assessRouter.GET("getEfficacyList", assessApi.GetEfficacyList)                // 获取功效列表
		assessRouter.POST("saveUserEfficacyTag", assessApi.SaveUserEfficacyTag)       // 保存功效标签
	}
}
